package com.example.springdemo03.po;

import lombok.Data;

@Data
public class DataModel {

    private String country;
    private String state;
    private int latestTotalCases;
    private int diffFromPrevDay;

    public DataModel(String state, String country, int latestTotalCases, int diffFromPrevDay) {
        this.country = country;
        this.state = state;
        this.latestTotalCases = latestTotalCases;
        this.diffFromPrevDay = diffFromPrevDay;
    }
}
